import { BeaconAlarm } from './card/bing/BeaconAlarm';
import { BlackMarket } from './card/bing/BlackMarket';
import { AlchemyPoison } from './card/global/AlchemyPoison';
import { LandGrant } from './card/hu/LandGrant';
import { TeaHorseTrade } from './card/hu/TeaHorseTrade';
import { AssignmentOrder } from './card/li/AssignmentOrder';
import { DismissalOrder } from './card/li/DismissalOrder';
import { GoldenAgeRetirement } from './card/li/GoldenAgeRetirement';
import { OfficialSeal } from './card/li/OfficialSeal';
import { BambooCaning } from './card/xing/BambooCaning';
import { CardRegistry } from './registry/CardRegistry';

export function register() {
	// 兵部
	CardRegistry.register('BeaconAlarm', BeaconAlarm);
	CardRegistry.register('BlackMarket', BlackMarket);
	CardRegistry.addPool('bing', 'BeaconAlarm', 8);
	CardRegistry.addPool('bing', 'BlackMarket', 8);

	// 全局
	CardRegistry.register('AlchemyPoison', AlchemyPoison);
	CardRegistry.addPool('global', 'AlchemyPoison', 8);

	// 户部
	CardRegistry.register('LandGrant', LandGrant);
	CardRegistry.register('TeaHorseTrade', TeaHorseTrade);
	CardRegistry.addPool('hu', 'LandGrant', 8);
	CardRegistry.addPool('hu', 'TeaHorseTrade', 8);

	// 吏部
	CardRegistry.register('AssignmentOrder', AssignmentOrder);
	CardRegistry.register('DismissalOrder', DismissalOrder);
	CardRegistry.register('GoldenAgeRetirement', GoldenAgeRetirement);
	CardRegistry.register('OfficialSeal', OfficialSeal);
	CardRegistry.addPool('li', 'AssignmentOrder', 8);
	CardRegistry.addPool('li', 'DismissalOrder', 8);
	CardRegistry.addPool('li', 'GoldenAgeRetirement', 8);
	CardRegistry.addPool('li', 'OfficialSeal', 8);

	// 刑部
	CardRegistry.register('xing', BambooCaning);
	CardRegistry.addPool('xing', 'BambooCaning', 8);
}
